package com.cjjs.jsf.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 拼团成员
 * @author gxy
 *	2018年6月2日
 *	jsf
 *
 */
@Table(name="spel_openid")
@Entity
public class SpelAndOpenId implements Serializable{

	private static final long serialVersionUID = 1683616625716541296L;

	@Id
	@GeneratedValue(generator="uuid")
	@GenericGenerator(strategy="org.hibernate.id.UUIDGenerator",name="uuid")
	private String id;
	
	@Column(name="wx_spelid")
	private String spelid;
	
	@Column(name="wx_openid")
	private String openId;
	
	@Column(name="create_date")
	private Date createDate;
	
	@Column(name="pay_status")
	private Integer status=-1;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSpelid() {
		return spelid;
	}

	public void setSpelid(String spelid) {
		this.spelid = spelid;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
	
}
